<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
     <!-- <script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=zTfzuHSdcFvM91GDGujaI4aiyr08gyBZ&callback=initialize"></script> -->
  <script src="http://mapopen.bj.bcebos.com/github/BMapGLLib/TrackAnimation/src/TrackAnimation.min.js"></script>
  <!-- <script src="http://api.map.baidu.com/library/TrackAnimation/src/TrackAnimation_min.js"></script> -->
  <script type="text/javascript"
    src="https://api.map.baidu.com/api?type=webgl&v=1.0&ak=zTfzuHSdcFvM91GDGujaI4aiyr08gyBZ"></script>

  <script src="https://unpkg.com/@bmapgl-plugin/track"></script>
  <script type="text/javascript" src="https://mapopen-pub-jsapi.bj.bcebos.com/jsapiGlgeo/track.js"></script>
<!-- mapvgl -->
<script src="https://unpkg.com/mapvgl/dist/mapvgl.min.js"></script>
<script src="https://unpkg.com/mapvgl/dist/mapvgl.threelayers.min.js"></script>

    <!-- <script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=zTfzuHSdcFvM91GDGujaI4aiyr08gyBZ&callback=initialize"></script> -->
    <script type="text/javascript" src="http://api.map.baidu.com/api?v=3.0&ak=zTfzuHSdcFvM91GDGujaI4aiyr08gyBZ"></script>
    <script type="text/javascript" src="https://api.map.baidu.com/library/TextIconOverlay/1.2/src/TextIconOverlay_min.js"></script>
    <script type="text/javascript" src="http://api.map.baidu.com/library/MarkerClusterer/1.2/src/MarkerClusterer_min.js"></script>
    <script type="text/javascript" src="./MarkerClusterer.js"></script>
    <script type="text/javascript" src="http://mapv.baidu.com/build/mapv.min.js"></script>
    <!-- <script type="text/javascript" src="https://unpkg.com/mapvgl/dist/mapvgl.min.js"></script> -->
    <script type="text/javascript" src="https://mapv.baidu.com/gl/examples/static/common.js"></script>
    <!-- baidu map 测距工具包 -->
    <script type="text/javascript" src="http://api.map.baidu.com/library/DistanceTool/1.2/src/DistanceTool_min.js"></script>
    <!-- baidu map 多边形凸包点 -->
    <script src='https://npmcdn.com/@turf/turf/turf.min.js'></script>
    <!-- baidu map DrawingManager -->
    <script type="text/javascript" src="http://api.map.baidu.com/library/DrawingManager/1.4/src/DrawingManager_min.js"></script>
    <link rel="stylesheet" href="http://api.map.baidu.com/library/DrawingManager/1.4/src/DrawingManager_min.css" />
    <!-- 海康视频 -->
    <script type="text/javascript" src="/static/js/jquery-1.12.4.min.js"></script>
    <script type="text/javascript" src="/static/js/jsencrypt.min.js"></script>
    <script type="text/javascript" src="/static/js/jsWebControl-1.0.0.min.js"></script>
    <!-- <script type="text/javascript" src="/static/js/web-control_1.2.5.min.js"></script> -->
    <!-- 华宝视频 -->
    <!-- <script src="http://www.xiangrikuischoolbus.com/808gps/open/player/cmsv6player.min.js"></script> -->
    <!-- <script src="http://www.xiangrikuischoolbus.com/libcmsv6decode.wasm"></script> -->
    <!-- 测面积 -->
    <script type="text/javascript" src="/measureArea/AreaTool_min.js"></script>
    <script type="text/javascript" src="/measureArea/GeoUtils.js"></script>
    <!-- built files will be auto injected -->
    <!-- 百度地图获取ip -->
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <script></script>
      var a = document.querySelector('div')
      function qqMapGeolocation () {
        $.ajax({
          type: 'get',
          async: true,
          url: 'https://apis.map.qq.com/ws/location/v1/ip',
          data: {
            key: 'N27BZ-BZIK4-ZXUUE-XFDEP-G6RRH-TRBUZ',
            output: 'jsonp'
          },
          dataType: 'jsonp',
          success: function (result) {
            console.log(result.result.ad_info.nation)
            localStorage.setItem('Nation', result.result.ad_info.nation)
            localStorage.setItem('Privince', result.result.ad_info.province)
            localStorage.setItem('City', result.result.ad_info.city)
            localStorage.setItem('District', result.result.ad_info.district)
          },
          error: function () {
            localStorage.setItem('Nation', '中国')
            localStorage.setItem('Privince', '天津市')
            localStorage.setItem('City', '天津市')
            localStorage.setItem('District', '西青区')
          }
        })
      }
      qqMapGeolocation()
    </script>
  </body>
</html>
